package com.webbei.shoppingCar.dao;

import java.util.Map;

import com.webbei.pojo.Customer;
import com.webbei.pojo.Customs;
import com.webbei.pojo.Orders;

public interface shoppingCarDao {
	
	public Customer getCustomerByUserName(String userName);
	public Customs getCustomsById(Long id);
	public Orders getOrdersById(Long id);
	public void saveOrder(Orders o);
	public void saveOrder1(Orders o);
	public Integer getIndusByProductId(Integer id);
	public Integer getOrderStateByOrderId(Long id);
	public String getBgPicByBgPicId(Integer id);
	public Integer getCustomerCountAtLogin(Map<String,String> map);
	public String getUserNameByEmail(String email);
	public String getUserPasswordByUserName(String username);
	public void changeUserPassword(Map map);
	public Integer isHasRelatedThird(Map m1);
	public void updateCustomAtshop(Customs c);
	public String getTypesNameByUrl(String url);
	public Integer checkUserPassword(Map m);
}
